package com.java.base.exercise.jvm;

/**
 * @Author RenPu
 * @Date 2021/7/26 18:27
 * @Version 1.0
 * @Description:
 **/
public class StringManage {

    public static void main(String[] args) {
        String ll = "60g";
        if (ll.contains("ml")) {
            ll = ll.replace("ml", "");

        } else if (ll.contains("g")) {
            ll = ll.replace("g", "");
        }
        System.out.println("------------------" + ll);


    }
}
